﻿using Framework;
using Module.M2;
using UnityEngine;

public class M2Module : ModuleBase<M2Controller, M2Model, M2View>
{
    public M2Module(string moduleName, Transform moduleParent, IModuleEventDispatcher moduleEventDispatcher) : base(moduleName, moduleParent, moduleEventDispatcher)
    {
    }

    protected override void OnRegister()
    {
        base.OnRegister();

        RegisterService<VoiceRecognitionService>();
        
        RegisterController(new M2OtherController(), FirstView);
    }
}